home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / shadez.swf / scripts / Local / Game / Level / CLevelData.as < prev    next >
Encoding:
Text File  |  2011-08-19  |  27.1 KB  |  672 lines

  1. package Local.Game.Level
  2. {
  3.    import Local.*;
  4.    import Local.External.*;
  5.    import Local.Game.*;
  6.    import Local.Game.Thing.*;
  7.    import Local.Game.World.*;
  8.    import Local.Game.World.Map.*;
  9.    import STC9.System.Profiler.*;
  10.    import flash.events.*;
  11.    import flash.geom.*;
  12.    
  13.    public class CLevelData
  14.    {
  15.       
  16.       private static var _mStages:Array;
  17.       
  18.       public static var mcTerrainNear:Class;
  19.       
  20.       public static var mDifficulty:String;
  21.       
  22.       public static var mStartLevel:int;
  23.       
  24.       public static var mName:String;
  25.       
  26.       public static var mStartFunds:Number;
  27.       
  28.       public static const SECONDS:int;
  29.       
  30.       public static var mGameKey:String;
  31.       
  32.       public static var mGameID:int;
  33.       
  34.       private static var _mLevel:CLevel;
  35.       
  36.       public static var mIndex:Number;
  37.       
  38.       public static var mcTerrainGround:Class;
  39.       
  40.       public static var mcTerrainFar:Class;
  41.       
  42.       public static var mcTerrainSky:Class;
  43.       
  44.       private static var _LevelIndex:int;
  45.       
  46.       public static var mcTerrainGroundDecor:Class;
  47.       
  48.       public static var mMochiBotTrack:Function;
  49.       
  50.       private static var _mClasses:Object;
  51.       
  52.       private static var _mSpawnPositions:Object;
  53.       
  54.       {
  55.          if(true)
  56.          {
  57.             SECONDS = CThingBase.SECONDS;
  58.          }
  59.       }
  60.       
  61.       public function CLevelData()
  62.       {
  63.          if(true)
  64.          {
  65.             super();
  66.          }
  67.       }
  68.       
  69.       public static function GetStages(param1:CLevel) : Array
  70.       {
  71.          _mClasses = new Object();
  72.          _mClasses["ak47"] = CPeepAK47;
  73.          _mClasses["truckflatbed"] = CVehicleTruckFlatbed;
  74.          _mClasses["truckflatbedaa"] = CVehicleTruckFlatbedAA;
  75.          _mClasses["scudlauncher"] = CVehicleScudLauncher;
  76.          _mClasses["cessna"] = CAircraftCessna;
  77.          _mLevel = param1;
  78.          _mSpawnPositions = new Object();
  79.          _mSpawnPositions["ak47"] = _mLevel.GetSpawnGround(CLevel.mSpawnEnemyX + 10);
  80.          _mSpawnPositions["truckflatbed"] = _mLevel.GetSpawnGround(CLevel.mSpawnEnemyX + 60);
  81.          _mSpawnPositions["truckflatbedaa"] = _mLevel.GetSpawnGround(CLevel.mSpawnEnemyX + 60);
  82.          _mSpawnPositions["scudlauncher"] = _mLevel.GetSpawnGround(CLevel.mSpawnEnemyX + 100);
  83.          _mSpawnPositions["cessna"] = _mLevel.GetSpawnAir(CLevel.mSpawnEnemyX + 100,200);
  84.          _mStages = new Array();
  85.          AddSpawn([["ak47",20,20,25],["truckflatbed",0,0,0],["truckflatbedaa",0,0,0],["scudlauncher",0,0,0],["cessna",0,0,0]],1);
  86.          AddSpawn([["ak47",24,20,23],["truckflatbed",0,0,0],["truckflatbedaa",0,0,0],["scudlauncher",0,0,0],["cessna",0,0,0]],1.05);
  87.          AddSpawn([["ak47",28,20,22],["truckflatbed",3,3,33],["truckflatbedaa",0,0,0],["scudlauncher",0,0,0],["cessna",0,0,0]],1.1);
  88.          AddSpawn([["ak47",32,20,21],["truckflatbed",4,3,32],["truckflatbedaa",0,0,0],["scudlauncher",1,2,86],["cessna",0,0,0]],1.15);
  89.          AddSpawn([["ak47",36,25,20],["truckflatbed",4,3,30],["truckflatbedaa",0,0,0],["scudlauncher",1,2,83],["cessna",1,2,104]],1.2);
  90.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  91.          ┬º┬ºpush(["ak47",40,25,20]);
  92.          if(true)
  93.          {
  94.             ┬º┬ºpush(null);
  95.          }
  96.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.25);
  97.          AddSpawn([["ak47",44,25,19],["truckflatbed",6,3,28],["truckflatbedaa",2,2,38],["scudlauncher",1,2,76],["cessna",2,2,96]],1.3);
  98.          AddSpawn([["ak47",48,25,18],["truckflatbed",6,3,27],["truckflatbedaa",3,2,37],["scudlauncher",2,2,74],["cessna",2,2,92]],1.35);
  99.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  100.          ┬º┬ºpush(["ak47",52,25,17]);
  101.          if(true)
  102.          {
  103.             ┬º┬ºpush(null);
  104.          }
  105.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.4);
  106.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  107.          ┬º┬ºpush(["ak47",56,30,17]);
  108.          if(true)
  109.          {
  110.             ┬º┬ºpush(null);
  111.          }
  112.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.45);
  113.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  114.          ┬º┬ºpush(["ak47",60,30,16]);
  115.          if(true)
  116.          {
  117.             ┬º┬ºpush(null);
  118.          }
  119.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.5);
  120.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  121.          ┬º┬ºpush(["ak47",64,30,16]);
  122.          if(true)
  123.          {
  124.             ┬º┬ºpush(null);
  125.          }
  126.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.55);
  127.          AddSpawn([["ak47",68,30,15],["truckflatbed",9,4,23],["truckflatbedaa",5,3,31],["scudlauncher",3,3,62],["cessna",3,3,78]],1.6);
  128.          AddSpawn([["ak47",72,30,15],["truckflatbed",10,4,22],["truckflatbedaa",5,3,30],["scudlauncher",3,3,60],["cessna",3,3,75]],1.65);
  129.          AddSpawn([["ak47",76,35,14],["truckflatbed",10,5,21],["truckflatbedaa",6,3,29],["scudlauncher",3,3,58],["cessna",3,3,73]],1.7);
  130.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  131.          ┬º┬ºpush(["ak47",80,35,14]);
  132.          if(true)
  133.          {
  134.             ┬º┬ºpush(null);
  135.          }
  136.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.75);
  137.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  138.          ┬º┬ºpush(["ak47",84,35,13]);
  139.          if(true)
  140.          {
  141.             ┬º┬ºpush(null);
  142.          }
  143.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.8);
  144.          AddSpawn([["ak47",88,35,13],["truckflatbed",12,5,20],["truckflatbedaa",7,3,27],["scudlauncher",4,3,54],["cessna",4,3,67]],1.85);
  145.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  146.          ┬º┬ºpush(["ak47",92,35,13]);
  147.          if(true)
  148.          {
  149.             ┬º┬ºpush(null);
  150.          }
  151.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.9);
  152.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  153.          ┬º┬ºpush(["ak47",96,40,12]);
  154.          if(true)
  155.          {
  156.             ┬º┬ºpush(null);
  157.          }
  158.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),1.95);
  159.          AddSpawn([["ak47",100,40,12],["truckflatbed",14,6,18],["truckflatbedaa",8,4,25],["scudlauncher",4,4,50],["cessna",5,4,62]],2);
  160.          AddSpawn([["ak47",104,40,12],["truckflatbed",15,6,18],["truckflatbedaa",8,4,24],["scudlauncher",4,4,48],["cessna",5,4,60]],2.05);
  161.          AddSpawn([["ak47",108,40,11],["truckflatbed",15,6,17],["truckflatbedaa",9,4,23],["scudlauncher",5,4,47],["cessna",5,4,59]],2.1);
  162.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  163.          ┬º┬ºpush(["ak47",112,40,11]);
  164.          if(true)
  165.          {
  166.             ┬º┬ºpush(null);
  167.          }
  168.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.15);
  169.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  170.          ┬º┬ºpush(["ak47",116,45,11]);
  171.          if(true)
  172.          {
  173.             ┬º┬ºpush(null);
  174.          }
  175.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.2);
  176.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  177.          ┬º┬ºpush(["ak47",120,45,11]);
  178.          if(true)
  179.          {
  180.             ┬º┬ºpush(null);
  181.          }
  182.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.25);
  183.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  184.          ┬º┬ºpush(["ak47",124,45,10]);
  185.          if(true)
  186.          {
  187.             ┬º┬ºpush(null);
  188.          }
  189.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.3);
  190.          AddSpawn([["ak47",128,45,10],["truckflatbed",18,6,15],["truckflatbedaa",11,4,21],["scudlauncher",6,4,42],["cessna",6,4,53]],2.35);
  191.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  192.          ┬º┬ºpush(["ak47",132,45,10]);
  193.          if(true)
  194.          {
  195.             ┬º┬ºpush(null);
  196.          }
  197.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.4);
  198.          AddSpawn([["ak47",136,50,10],["truckflatbed",19,7,15],["truckflatbedaa",12,5,20],["scudlauncher",6,5,40],["cessna",6,5,51]],2.45);
  199.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  200.          ┬º┬ºpush(["ak47",140,50,10]);
  201.          if(true)
  202.          {
  203.             ┬º┬ºpush(null);
  204.          }
  205.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.5);
  206.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  207.          ┬º┬ºpush(["ak47",144,50,9]);
  208.          if(true)
  209.          {
  210.             ┬º┬ºpush(null);
  211.          }
  212.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.55);
  213.          AddSpawn([["ak47",148,50,9],["truckflatbed",21,7,14],["truckflatbedaa",13,5,19],["scudlauncher",7,5,38],["cessna",7,5,48]],2.6);
  214.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  215.          ┬º┬ºpush(["ak47",152,50,9]);
  216.          if(true)
  217.          {
  218.             ┬º┬ºpush(null);
  219.          }
  220.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.65);
  221.          AddSpawn([["ak47",156,55,9],["truckflatbed",22,8,13],["truckflatbedaa",14,5,18],["scudlauncher",7,5,37],["cessna",7,5,46]],2.7);
  222.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  223.          ┬º┬ºpush(["ak47",160,55,9]);
  224.          if(true)
  225.          {
  226.             ┬º┬ºpush(null);
  227.          }
  228.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.75);
  229.          AddSpawn([["ak47",164,55,8],["truckflatbed",24,8,13],["truckflatbedaa",14,5,17],["scudlauncher",7,5,35],["cessna",8,5,44]],2.8);
  230.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  231.          ┬º┬ºpush(["ak47",168,55,8]);
  232.          if(true)
  233.          {
  234.             ┬º┬ºpush(null);
  235.          }
  236.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.85);
  237.          AddSpawn([["ak47",172,55,8],["truckflatbed",25,8,12],["truckflatbedaa",15,5,17],["scudlauncher",8,5,34],["cessna",8,5,43]],2.9);
  238.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  239.          ┬º┬ºpush(["ak47",176,60,8]);
  240.          if(true)
  241.          {
  242.             ┬º┬ºpush(null);
  243.          }
  244.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),2.95);
  245.          AddSpawn([["ak47",180,60,8],["truckflatbed",26,9,12],["truckflatbedaa",16,6,16],["scudlauncher",8,6,33],["cessna",9,6,41]],3);
  246.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  247.          ┬º┬ºpush(["ak47",184,60,8]);
  248.          if(true)
  249.          {
  250.             ┬º┬ºpush(null);
  251.          }
  252.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  253.          AddSpawn([["ak47",188,60,8],["truckflatbed",27,9,12],["truckflatbedaa",17,6,16],["scudlauncher",9,6,33],["cessna",9,6,41]],3);
  254.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  255.          ┬º┬ºpush(["ak47",192,60,8]);
  256.          if(true)
  257.          {
  258.             ┬º┬ºpush(null);
  259.          }
  260.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  261.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  262.          ┬º┬ºpush(["ak47",196,65,8]);
  263.          if(true)
  264.          {
  265.             ┬º┬ºpush(null);
  266.          }
  267.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  268.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  269.          ┬º┬ºpush(["ak47",200,65,8]);
  270.          if(true)
  271.          {
  272.             ┬º┬ºpush(null);
  273.          }
  274.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  275.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  276.          ┬º┬ºpush(["ak47",204,65,8]);
  277.          if(true)
  278.          {
  279.             ┬º┬ºpush(null);
  280.          }
  281.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  282.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  283.          ┬º┬ºpush(["ak47",208,65,8]);
  284.          if(true)
  285.          {
  286.             ┬º┬ºpush(null);
  287.          }
  288.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  289.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  290.          ┬º┬ºpush(["ak47",212,65,8]);
  291.          if(true)
  292.          {
  293.             ┬º┬ºpush(null);
  294.          }
  295.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  296.          AddSpawn([["ak47",216,70,8],["truckflatbed",31,10,12],["truckflatbedaa",20,7,16],["scudlauncher",10,7,33],["cessna",10,7,41]],3);
  297.          AddSpawn([["ak47",220,70,8],["truckflatbed",32,10,12],["truckflatbedaa",20,7,16],["scudlauncher",10,7,33],["cessna",11,7,41]],3);
  298.          AddSpawn([["ak47",224,70,8],["truckflatbed",33,10,12],["truckflatbedaa",20,7,16],["scudlauncher",10,7,33],["cessna",11,7,41]],3);
  299.          AddSpawn([["ak47",228,70,8],["truckflatbed",33,10,12],["truckflatbedaa",21,7,16],["scudlauncher",11,7,33],["cessna",11,7,41]],3);
  300.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  301.          ┬º┬ºpush(["ak47",232,70,8]);
  302.          if(true)
  303.          {
  304.             ┬º┬ºpush(null);
  305.          }
  306.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  307.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  308.          ┬º┬ºpush(["ak47",236,75,8]);
  309.          if(true)
  310.          {
  311.             ┬º┬ºpush(null);
  312.          }
  313.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  314.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  315.          ┬º┬ºpush(["ak47",240,75,8]);
  316.          if(true)
  317.          {
  318.             ┬º┬ºpush(null);
  319.          }
  320.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  321.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  322.          ┬º┬ºpush(["ak47",244,75,8]);
  323.          if(true)
  324.          {
  325.             ┬º┬ºpush(null);
  326.          }
  327.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  328.          AddSpawn([["ak47",248,75,8],["truckflatbed",36,11,12],["truckflatbedaa",23,7,16],["scudlauncher",12,7,33],["cessna",12,7,41]],3);
  329.          AddSpawn([["ak47",252,75,8],["truckflatbed",37,11,12],["truckflatbedaa",23,7,16],["scudlauncher",12,7,33],["cessna",12,7,41]],3);
  330.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  331.          ┬º┬ºpush(["ak47",256,80,8]);
  332.          if(true)
  333.          {
  334.             ┬º┬ºpush(null);
  335.          }
  336.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  337.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  338.          ┬º┬ºpush(["ak47",260,80,8]);
  339.          if(true)
  340.          {
  341.             ┬º┬ºpush(null);
  342.          }
  343.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  344.          AddSpawn([["ak47",264,80,8],["truckflatbed",39,12,12],["truckflatbedaa",24,8,16],["scudlauncher",12,8,33],["cessna",13,8,41]],3);
  345.          AddSpawn([["ak47",268,80,8],["truckflatbed",39,12,12],["truckflatbedaa",25,8,16],["scudlauncher",13,8,33],["cessna",13,8,41]],3);
  346.          AddSpawn([["ak47",272,80,8],["truckflatbed",40,12,12],["truckflatbedaa",25,8,16],["scudlauncher",13,8,33],["cessna",13,8,41]],3);
  347.          AddSpawn([["ak47",276,85,8],["truckflatbed",40,12,12],["truckflatbedaa",26,8,16],["scudlauncher",13,8,33],["cessna",13,8,41]],3);
  348.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  349.          ┬º┬ºpush(["ak47",280,85,8]);
  350.          if(true)
  351.          {
  352.             ┬º┬ºpush(null);
  353.          }
  354.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  355.          AddSpawn([["ak47",284,85,8],["truckflatbed",42,12,12],["truckflatbedaa",26,8,16],["scudlauncher",13,8,33],["cessna",14,8,41]],3);
  356.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  357.          ┬º┬ºpush(["ak47",288,85,8]);
  358.          if(true)
  359.          {
  360.             ┬º┬ºpush(null);
  361.          }
  362.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  363.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  364.          ┬º┬ºpush(["ak47",292,85,8]);
  365.          if(true)
  366.          {
  367.             ┬º┬ºpush(null);
  368.          }
  369.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  370.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  371.          ┬º┬ºpush(["ak47",296,90,8]);
  372.          if(true)
  373.          {
  374.             ┬º┬ºpush(null);
  375.          }
  376.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  377.          AddSpawn([["ak47",300,90,8],["truckflatbed",44,13,12],["truckflatbedaa",28,9,16],["scudlauncher",14,9,33],["cessna",15,9,41]],3);
  378.          AddSpawn([["ak47",304,90,8],["truckflatbed",45,13,12],["truckflatbedaa",28,9,16],["scudlauncher",14,9,33],["cessna",15,9,41]],3);
  379.          AddSpawn([["ak47",308,90,8],["truckflatbed",45,13,12],["truckflatbedaa",29,9,16],["scudlauncher",15,9,33],["cessna",15,9,41]],3);
  380.          AddSpawn([["ak47",312,90,8],["truckflatbed",46,13,12],["truckflatbedaa",29,9,16],["scudlauncher",15,9,33],["cessna",15,9,41]],3);
  381.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  382.          ┬º┬ºpush(["ak47",316,95,8]);
  383.          if(true)
  384.          {
  385.             ┬º┬ºpush(null);
  386.          }
  387.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  388.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  389.          ┬º┬ºpush(["ak47",320,95,8]);
  390.          if(true)
  391.          {
  392.             ┬º┬ºpush(null);
  393.          }
  394.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  395.          AddSpawn([["ak47",324,95,8],["truckflatbed",48,14,12],["truckflatbedaa",30,9,16],["scudlauncher",15,9,33],["cessna",16,9,41]],3);
  396.          AddSpawn([["ak47",328,95,8],["truckflatbed",48,14,12],["truckflatbedaa",31,9,16],["scudlauncher",16,9,33],["cessna",16,9,41]],3);
  397.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  398.          ┬º┬ºpush(["ak47",332,95,8]);
  399.          if(true)
  400.          {
  401.             ┬º┬ºpush(null);
  402.          }
  403.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  404.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  405.          ┬º┬ºpush(["ak47",336,100,8]);
  406.          if(true)
  407.          {
  408.             ┬º┬ºpush(null);
  409.          }
  410.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  411.          AddSpawn([["ak47",340,100,8],["truckflatbed",50,15,12],["truckflatbedaa",32,10,16],["scudlauncher",16,10,33],["cessna",17,10,41]],3);
  412.          AddSpawn([["ak47",344,100,8],["truckflatbed",51,15,12],["truckflatbedaa",32,10,16],["scudlauncher",16,10,33],["cessna",17,10,41]],3);
  413.          AddSpawn([["ak47",348,100,8],["truckflatbed",51,15,12],["truckflatbedaa",33,10,16],["scudlauncher",17,10,33],["cessna",17,10,41]],3);
  414.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  415.          ┬º┬ºpush(["ak47",352,100,8]);
  416.          if(true)
  417.          {
  418.             ┬º┬ºpush(null);
  419.          }
  420.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  421.          AddSpawn([["ak47",356,105,8],["truckflatbed",52,15,12],["truckflatbedaa",34,10,16],["scudlauncher",17,10,33],["cessna",17,10,41]],3);
  422.          AddSpawn([["ak47",360,105,8],["truckflatbed",53,15,12],["truckflatbedaa",34,10,16],["scudlauncher",17,10,33],["cessna",18,10,41]],3);
  423.          AddSpawn([["ak47",364,105,8],["truckflatbed",54,15,12],["truckflatbedaa",34,10,16],["scudlauncher",17,10,33],["cessna",18,10,41]],3);
  424.          AddSpawn([["ak47",368,105,8],["truckflatbed",54,15,12],["truckflatbedaa",35,10,16],["scudlauncher",18,10,33],["cessna",18,10,41]],3);
  425.          AddSpawn([["ak47",372,105,8],["truckflatbed",55,15,12],["truckflatbedaa",35,10,16],["scudlauncher",18,10,33],["cessna",18,10,41]],3);
  426.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  427.          ┬º┬ºpush(["ak47",376,110,8]);
  428.          if(true)
  429.          {
  430.             ┬º┬ºpush(null);
  431.          }
  432.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  433.          AddSpawn([["ak47",380,110,8],["truckflatbed",56,16,12],["truckflatbedaa",36,11,16],["scudlauncher",18,11,33],["cessna",19,11,41]],3);
  434.          AddSpawn([["ak47",384,110,8],["truckflatbed",57,16,12],["truckflatbedaa",36,11,16],["scudlauncher",18,11,33],["cessna",19,11,41]],3);
  435.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  436.          ┬º┬ºpush(["ak47",388,110,8]);
  437.          if(true)
  438.          {
  439.             ┬º┬ºpush(null);
  440.          }
  441.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  442.          AddSpawn([["ak47",392,110,8],["truckflatbed",58,16,12],["truckflatbedaa",37,11,16],["scudlauncher",19,11,33],["cessna",19,11,41]],3);
  443.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  444.          ┬º┬ºpush(["ak47",396,115,8]);
  445.          if(true)
  446.          {
  447.             ┬º┬ºpush(null);
  448.          }
  449.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  450.          AddSpawn([["ak47",400,115,8],["truckflatbed",59,17,12],["truckflatbedaa",38,11,16],["scudlauncher",19,11,33],["cessna",20,11,41]],3);
  451.          ┬º┬ºpush(┬º┬ºfindproperty(AddSpawn));
  452.          ┬º┬ºpush(["ak47",404,115,8]);
  453.          if(true)
  454.          {
  455.             ┬º┬ºpush(null);
  456.          }
  457.          ┬º┬ºpop().AddSpawn(┬º┬ºpop(),3);
  458.          AddSpawn([["ak47",408,115,8],["truckflatbed",60,17,12],["truckflatbedaa",39,11,16],["scudlauncher",20,11,33],["cessna",20,11,41]],3);
  459.          AddSpawn([["ak47",412,115,8],["truckflatbed",61,17,12],["truckflatbedaa",39,11,16],["scudlauncher",20,11,33],["cessna",20,11,41]],3);
  460.          AddSpawn([["ak47",416,120,8],["truckflatbed",61,18,12],["truckflatbedaa",40,12,16],["scudlauncher",20,12,33],["cessna",20,12,41]],3);
  461.          return _mStages;
  462.       }
  463.       
  464.       private static function AddSpawn(param1:Array, param2:Number) : void
  465.       {
  466.          var _loc3_:CLevelStage = null;
  467.          var _loc4_:Array = null;
  468.          _loc3_ = new CLevelStage(_mLevel,30 * SECONDS);
  469.          for each(_loc4_ in param1)
  470.          {
  471.             if(!(_loc4_[1] == 0 || _loc4_[2] == 0 || _loc4_[3] == 0))
  472.             {
  473.                _loc3_.AddSpawn(new CLevelSpawn(_loc4_[0],_mClasses[_loc4_[0]],_loc4_[1],_loc4_[2],_loc4_[3],_mSpawnPositions[_loc4_[0]].Clone()));
  474.             }
  475.          }
  476.          if(true)
  477.          {
  478.             _loc3_.mEnemySpeed = param2;
  479.             if(true)
  480.             {
  481.                _loc3_.addEventListener(CLevelStage.COMPLETE,_mLevel.e_STAGE_COMPLETE);
  482.             }
  483.             _mStages.push(_loc3_);
  484.          }
  485.       }
  486.       
  487.       public static function set mLevelIndex(param1:int) : void
  488.       {
  489.          ┬º┬ºpush(mIndex = _LevelIndex = param1);
  490.          if(true)
  491.          {
  492.             var _loc2_:* = ┬º┬ºpop();
  493.             ┬º┬ºpush(0);
  494.             ┬º┬ºpush(_loc2_);
  495.             if(true)
  496.             {
  497.                if(┬º┬ºpop() === ┬º┬ºpop())
  498.                {
  499.                   ┬º┬ºpush(0);
  500.                }
  501.                else
  502.                {
  503.                   ┬º┬ºpush(1);
  504.                   ┬º┬ºpush(_loc2_);
  505.                   if(true)
  506.                   {
  507.                      if(┬º┬ºpop() === ┬º┬ºpop())
  508.                      {
  509.                         ┬º┬ºgoto(addr272);
  510.                      }
  511.                      else
  512.                      {
  513.                         ┬º┬ºpush(2);
  514.                         ┬º┬ºpush(_loc2_);
  515.                      }
  516.                      ┬º┬ºgoto(addr272);
  517.                   }
  518.                   ┬º┬ºpush(┬º┬ºpop() === ┬º┬ºpop() ? 2 : (3 === _loc2_ ? 3 : 4));
  519.                }
  520.                addr272:
  521.                ┬º┬ºgoto(addr273);
  522.             }
  523.             ┬º┬ºgoto(addr260);
  524.          }
  525.          addr273:
  526.          switch(1)
  527.          {
  528.             case 0:
  529.                mcTerrainGround = Ground_00;
  530.                if(true)
  531.                {
  532.                   mcTerrainGroundDecor = Ground_00_Decor;
  533.                   if(true)
  534.                   {
  535.                      mcTerrainNear = Near_00;
  536.                      if(true)
  537.                      {
  538.                         mcTerrainFar = Far_00;
  539.                         if(true)
  540.                         {
  541.                            mcTerrainSky = Sky_00;
  542.                            if(true)
  543.                            {
  544.                               mName = "THE FLAT PLANS";
  545.                               if(true)
  546.                               {
  547.                                  mDifficulty = "Easy";
  548.                                  if(true)
  549.                                  {
  550.                                     mGameID = 380;
  551.                                     if(true)
  552.                                     {
  553.                                        mGameKey = "shad9e32443d007c1d6885e4e052624f1ad7";
  554.                                        if(true)
  555.                                        {
  556.                                           mStartLevel = 0;
  557.                                           if(true)
  558.                                           {
  559.                                              mStartFunds = 450000;
  560.                                              if(true)
  561.                                              {
  562.                                                 mMochiBotTrack = CMochiBot.SHZ_BO_LEVELPLAY_1;
  563.                                                 if(true)
  564.                                                 {
  565.                                                    break;
  566.                                                 }
  567.                                                 addr189:
  568.                                                 mcTerrainNear = Near_00;
  569.                                              }
  570.                                              mcTerrainFar = Far_00;
  571.                                           }
  572.                                           mcTerrainSky = Sky_00;
  573.                                        }
  574.                                        mName = "THE BIG LONG WAR";
  575.                                     }
  576.                                     mDifficulty = "Expert";
  577.                                  }
  578.                                  mGameID = 383;
  579.                               }
  580.                               mGameKey = "shad8d95cef52df2ddd0785692e1172aaf14";
  581.                            }
  582.                            mStartLevel = 5;
  583.                         }
  584.                         mStartFunds = 1000000;
  585.                      }
  586.                      mMochiBotTrack = CMochiBot.SHZ_BO_LEVELPLAY_4;
  587.                   }
  588.                }
  589.                break;
  590.             case 1:
  591.                mcTerrainGround = Ground_01;
  592.                if(true)
  593.                {
  594.                   mcTerrainGroundDecor = Ground_01_Decor;
  595.                   if(true)
  596.                   {
  597.                      mcTerrainNear = Near_00;
  598.                      if(true)
  599.                      {
  600.                         mcTerrainFar = Far_00;
  601.                         if(true)
  602.                         {
  603.                            mcTerrainSky = Sky_00;
  604.                            if(true)
  605.                            {
  606.                               mName = "THE REDWOOD HILL";
  607.                               if(true)
  608.                               {
  609.                                  mDifficulty = "Intermediate";
  610.                                  if(true)
  611.                                  {
  612.                                     mGameID = 381;
  613.                                     if(true)
  614.                                     {
  615.                                        mGameKey = "shad6b7d618e9ad5222d2a4d78a13c9ff493";
  616.                                        if(true)
  617.                                        {
  618.                                           mStartLevel = 1;
  619.                                           if(true)
  620.                                           {
  621.                                              mStartFunds = 450000;
  622.                                              if(true)
  623.                                              {
  624.                                                 mMochiBotTrack = CMochiBot.SHZ_BO_LEVELPLAY_2;
  625.                                                 if(true)
  626.                                                 {
  627.                                                    break;
  628.                                                 }
  629.                                                 addr150:
  630.                                                 mcTerrainNear = Near_00;
  631.                                              }
  632.                                              mcTerrainFar = Far_00;
  633.                                           }
  634.                                           mcTerrainSky = Sky_00;
  635.                                        }
  636.                                        mName = "THE TWIN PEAKS";
  637.                                     }
  638.                                     mDifficulty = "Intermediate";
  639.                                  }
  640.                                  mGameID = 382;
  641.                               }
  642.                               mGameKey = "shad69e2912e89a32a82140d3fafc40eff2a";
  643.                            }
  644.                            mStartLevel = 3;
  645.                         }
  646.                         mStartFunds = 600000;
  647.                      }
  648.                      mMochiBotTrack = CMochiBot.SHZ_BO_LEVELPLAY_3;
  649.                   }
  650.                   break;
  651.                }
  652.                addr186:
  653.                mcTerrainGroundDecor = Ground_03_Decor;
  654.                ┬º┬ºgoto(addr189);
  655.                break;
  656.             case 2:
  657.                mcTerrainGround = Ground_02;
  658.                mcTerrainGroundDecor = Ground_02_Decor;
  659.                ┬º┬ºgoto(addr150);
  660.             case 3:
  661.                mcTerrainGround = Ground_03;
  662.                ┬º┬ºgoto(addr186);
  663.          }
  664.       }
  665.       
  666.       public static function get mLevelIndex() : int
  667.       {
  668.          return _LevelIndex;
  669.       }
  670.    }
  671. }
  672.